package com.baitiaojun.video.mapper;

import com.baitiaojun.api.domain.video.Tag;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

public interface TagMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Tag record);

    int insertSelective(Tag record);

    Tag selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Tag record);

    int updateByPrimaryKey(Tag record);

    int batchInsertTags(@Param("tags") List<Tag> tags);

    List<Tag> batchSelectByTagIds(@Param("tagIds") Set<Long> tagIds);
}